# (c) 2008 by Florina Nacu < florina@omnidatagrup.ro >

project(Gestionari)

include_directories(BEFORE "${CMAKE_SOURCE_DIR}/libs")

set(Gestionari_SRCS gestionariplugin.cpp gestionari.cpp)
QT4_WRAP_CPP(Gestionari_SRCS gestionariplugin.h gestionari.h)
QT4_WRAP_UI(Gestionari_SRCS gestionari.ui)
QT4_ADD_RESOURCES(Gestionari_SRCS gestionari.qrc)

add_library(Gestionari SHARED ${Gestionari_SRCS})
add_dependencies(Gestionari KontAMabil)
link_directories( "${CMAKE_SOURCE_DIR}/libs" )
target_link_libraries(Gestionari KontAMabil ${QT_LIBRARIES})

install(TARGETS Gestionari ${INSTALL_PLUGINS_DEFAULT_ARGS})
